const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  menus: state => state.user.menus, //新增
  userId: state => state.user.userId, //新增
  roleId: state => state.user.roleId, //新增
  permList: state => state.user.permList //新增
}
export default getters
